package com.mall.service;

import com.mall.bean.Permission;

import java.util.List;

/**
 * @author lwd1513
 * @date 2022-04-15 17 53
 * discription
 */
public interface PermissionService extends Service<Permission>{
    List<Permission> getPermissionListByRoleId(String roleId);

    List<Permission> getPermissionList();

    int deletePermissionById(Integer permission_id);

    int updatePermissionById(Permission permission);
}
